package com.log.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "log_trans")
public class LogTrans {
    /**
     * 运输id
     */
    @Id
    @Column(name = "log_trans_id")
    private Integer logTransId;

    /**
     * 商品出库单号ID
     */
    @Column(name = "log_goods_out_id")
    private Integer logGoodsOutId;

    /**
     * 车辆ID
     */
    @Column(name = "log_car_id")
    private Integer logCarId;

    /**
     * 司机姓名
     */
    @Column(name = "log_employee_name")
    private String logEmployeeName;

    /**
     * 出车时间
     */
    @Column(name = "log_tran_time")
    private Date logTranTime;

    /**
     * 运输状态
     */
    @Column(name = "log_state")
    private String logState;

    /**
     * 获取运输id
     *
     * @return log_trans_id - 运输id
     */
    public Integer getLogTransId() {
        return logTransId;
    }

    /**
     * 设置运输id
     *
     * @param logTransId 运输id
     */
    public void setLogTransId(Integer logTransId) {
        this.logTransId = logTransId;
    }

    /**
     * 获取商品出库单号ID
     *
     * @return log_goods_out_id - 商品出库单号ID
     */
    public Integer getLogGoodsOutId() {
        return logGoodsOutId;
    }

    /**
     * 设置商品出库单号ID
     *
     * @param logGoodsOutId 商品出库单号ID
     */
    public void setLogGoodsOutId(Integer logGoodsOutId) {
        this.logGoodsOutId = logGoodsOutId;
    }

    /**
     * 获取车辆ID
     *
     * @return log_car_id - 车辆ID
     */
    public Integer getLogCarId() {
        return logCarId;
    }

    /**
     * 设置车辆ID
     *
     * @param logCarId 车辆ID
     */
    public void setLogCarId(Integer logCarId) {
        this.logCarId = logCarId;
    }

    /**
     * 获取司机姓名
     *
     * @return log_employee_name - 司机姓名
     */
    public String getLogEmployeeName() {
        return logEmployeeName;
    }

    /**
     * 设置司机姓名
     *
     * @param logEmployeeName 司机姓名
     */
    public void setLogEmployeeName(String logEmployeeName) {
        this.logEmployeeName = logEmployeeName;
    }

    /**
     * 获取出车时间
     *
     * @return log_tran_time - 出车时间
     */
    public Date getLogTranTime() {
        return logTranTime;
    }

    /**
     * 设置出车时间
     *
     * @param logTranTime 出车时间
     */
    public void setLogTranTime(Date logTranTime) {
        this.logTranTime = logTranTime;
    }

    /**
     * 获取运输状态
     *
     * @return log_state - 运输状态
     */
    public String getLogState() {
        return logState;
    }

    /**
     * 设置运输状态
     *
     * @param logState 运输状态
     */
    public void setLogState(String logState) {
        this.logState = logState;
    }
}